import request from '@/util/axios.js'


// 发布动态
export const postDynamic = (data) => {
    return request({
        url: '/dynamic/save',
        method: 'post',
        data
    })
}

// 获取动态
export const listDynamic = () => {
    return request({
        url: '/dynamic/list',
        method: 'get',
    })
}


